-
Notifications
You must be signed in to change notification settings - Fork 11
Guide page added #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Guide page added #79
Conversation
src/main/webapp/src/pages/guide.tsx
Outdated
| const [selectedCard, setSelectedCard] = useState<number | null>(null); | ||
|
|
||
| const steps = [ | ||
| { text: 'Для начала вам следует выбрать набор правил. Если вы хотите провести проверку со всеми правилами тогда игнорируйте этот пункт. Вам следует перейти в пункт "Наборы правил и там выбрать один из существующих наборов или создать свой."', gif: firstStepGif }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
","
src/main/webapp/src/pages/guide.tsx
Outdated
| { text: 'После выбора набора правил, вам следует перейти на страницу для загрузки файлов. Здесь надо выбрать файл и начать загрузку. После обработки нажмите на количество ошибок и сможете перейти на обзор файла.', gif: secondStepGif }, | ||
| { text: 'Вам откроется страница с тремя полями, в первом идет список ошибок, нажав на которые их можно просмотреть. Также тут возможно фильтровать ошибки по названиям или страницам.', gif: thirdStepGif }, | ||
|
|
||
| { text: 'Наконец если среди нарушений вы нашли ошибочное. Например вам кажется что тут все правильно, а отчет говорит обратное, то стоит отправить нам отчет нажав на соответствующую кнопку. ', gif: sixthStepGif }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
","
src/main/webapp/src/pages/guide.tsx
Outdated
| { text: 'После выбора набора правил, вам следует перейти на страницу для загрузки файлов. Здесь надо выбрать файл и начать загрузку. После обработки нажмите на количество ошибок и сможете перейти на обзор файла.', gif: secondStepGif }, | ||
| { text: 'Вам откроется страница с тремя полями, в первом идет список ошибок, нажав на которые их можно просмотреть. Также тут возможно фильтровать ошибки по названиям или страницам.', gif: thirdStepGif }, | ||
|
|
||
| { text: 'Наконец если среди нарушений вы нашли ошибочное. Например вам кажется что тут все правильно, а отчет говорит обратное, то стоит отправить нам отчет нажав на соответствующую кнопку. ', gif: sixthStepGif }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
","
src/main/webapp/src/pages/guide.tsx
Outdated
| { text: 'После выбора набора правил, вам следует перейти на страницу для загрузки файлов. Здесь надо выбрать файл и начать загрузку. После обработки нажмите на количество ошибок и сможете перейти на обзор файла.', gif: secondStepGif }, | ||
| { text: 'Вам откроется страница с тремя полями, в первом идет список ошибок, нажав на которые их можно просмотреть. Также тут возможно фильтровать ошибки по названиям или страницам.', gif: thirdStepGif }, | ||
|
|
||
| { text: 'Наконец если среди нарушений вы нашли ошибочное. Например вам кажется что тут все правильно, а отчет говорит обратное, то стоит отправить нам отчет нажав на соответствующую кнопку. ', gif: sixthStepGif }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
","
src/main/webapp/src/pages/guide.tsx
Outdated
| } | ||
| }; | ||
| return ( | ||
| <div style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', padding: '20px' }}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CSS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
src/main/webapp/src/pages/guide.tsx
Outdated
| {selectedCard === index && <img src={step.gif} alt={`Step ${index + 1}`} style={{ width: '100%', height: '70%' }} />} | ||
| </div> | ||
| </Card> | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty lines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
No description provided.